package netty.model;

import java.io.Serializable;

/**
 * 前后端进行消息交互的规范格式
 * @author shkstart
 * @create 2019-11-15 20:55
 */
public class ChattingWrap implements Serializable {

    private ChattingMsg chattingMsg;     //聊天消息实体
    private Integer action;        //请求动作
    private String extend;         //扩展字段

    public ChattingMsg getChattingMsg() {
        return chattingMsg;
    }

    public void setChattingMsg(ChattingMsg chattingMsg) {
        this.chattingMsg = chattingMsg;
    }

    public Integer getAction() {
        return action;
    }

    public void setAction(Integer action) {
        this.action = action;
    }

    public String getExtend() {
        return extend;
    }

    public void setExtend(String extend) {
        this.extend = extend;
    }

}
